<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="../public/css/reset.css">
  <link rel="stylesheet" href="./index.css">
</head>
<body>
  <div class="container">
    <h2 class="title">Login</h2>
    <input type="text" name="" id="username" placeholder="Username">
    <input type="password" name="" id="password" placeholder="Password">

    <button class="login" onclick="handleLogin()">Login</button>
    <div class="footer">
      <div class="rememberBox">
        <input type="checkbox" name="" id="remember">
        <label for="remember">Remember me</label>
      </div>
      <button class="register">去注册</button>
    </div>
  </div>
  <script>
    const register = document.querySelector('.register')
    register.addEventListener('click', () => {
      // window.location.href = './register.html'
    })
  </script>
</body>
</html>
